package com.lsy.weizhi2.JsonObject;

import java.util.List;

/**
 * Created by 嗨哟 on 2017/5/6.
 */

public class SelfMessage {

    /**
     * result : true
     * message :
     * error :
     * pageNo : 1
     * pageSize : 20
     * totalPages : 1
     * count : 1
     * totalElements : 1
     * list : [{"createTime":"2017-05-06 13:02:58","updateTime":"2017-05-06 13:02:58","createUserId":7,"createUsername":"123456789","updateUserId":7,"updateUsername":"123456789","id":3,"userId":7,"friendId":2,"senderId":7,"receiverId":2,"messageType":1,"messageMode":1,"messageContent":"这是一条私信","soundUrl":null,"soundSeconds":0,"picUrl":0,"status":1}]
     */

    private boolean result;
    private String message;
    private String error;
    private int pageNo;
    private int pageSize;
    private int totalPages;
    private int count;
    private int totalElements;
    private List<ListBean> list;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(int totalElements) {
        this.totalElements = totalElements;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * createTime : 2017-05-06 13:02:58
         * updateTime : 2017-05-06 13:02:58
         * createUserId : 7
         * createUsername : 123456789
         * updateUserId : 7
         * updateUsername : 123456789
         * id : 3
         * userId : 7
         * friendId : 2
         * senderId : 7
         * receiverId : 2
         * messageType : 1
         * messageMode : 1
         * messageContent : 这是一条私信
         * soundUrl : null
         * soundSeconds : 0
         * picUrl : 0
         * status : 1
         */

        private String createTime;
        private String updateTime;
        private int createUserId;
        private String createUsername;
        private int updateUserId;
        private String updateUsername;
        private int id;
        private int userId;
        private int friendId;
        private int senderId;
        private int receiverId;
        private int messageType;
        private int messageMode;
        private String messageContent;
        private Object soundUrl;
        private int soundSeconds;
        private int picUrl;
        private int status;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateUsername() {
            return createUsername;
        }

        public void setCreateUsername(String createUsername) {
            this.createUsername = createUsername;
        }

        public int getUpdateUserId() {
            return updateUserId;
        }

        public void setUpdateUserId(int updateUserId) {
            this.updateUserId = updateUserId;
        }

        public String getUpdateUsername() {
            return updateUsername;
        }

        public void setUpdateUsername(String updateUsername) {
            this.updateUsername = updateUsername;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getFriendId() {
            return friendId;
        }

        public void setFriendId(int friendId) {
            this.friendId = friendId;
        }

        public int getSenderId() {
            return senderId;
        }

        public void setSenderId(int senderId) {
            this.senderId = senderId;
        }

        public int getReceiverId() {
            return receiverId;
        }

        public void setReceiverId(int receiverId) {
            this.receiverId = receiverId;
        }

        public int getMessageType() {
            return messageType;
        }

        public void setMessageType(int messageType) {
            this.messageType = messageType;
        }

        public int getMessageMode() {
            return messageMode;
        }

        public void setMessageMode(int messageMode) {
            this.messageMode = messageMode;
        }

        public String getMessageContent() {
            return messageContent;
        }

        public void setMessageContent(String messageContent) {
            this.messageContent = messageContent;
        }

        public Object getSoundUrl() {
            return soundUrl;
        }

        public void setSoundUrl(Object soundUrl) {
            this.soundUrl = soundUrl;
        }

        public int getSoundSeconds() {
            return soundSeconds;
        }

        public void setSoundSeconds(int soundSeconds) {
            this.soundSeconds = soundSeconds;
        }

        public int getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(int picUrl) {
            this.picUrl = picUrl;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }
}
